package cn.kgc.dao;


import cn.kgc.pojo.HasPower;
import cn.kgc.pojo.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface userDao_dyb{
    UserRole selUser(@Param("coding")String coding, @Param("password")String password);

    String getPowerById(@Param("id") Integer id);

    List<HasPower> getHasPower();

    Integer upHasPower(@Param("id")Integer id,@Param("haspower")String haspower);

    Integer upPass(@Param("id")Integer id,@Param("password")String password);
}
